package com.personal.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel(value = "CommentListVO", description = "查询资源文章评价列表VO")
public class CommentListVO {

    @ApiModelProperty("用户id")
    private Integer id;

    @ApiModelProperty("用户昵称")
    private String nickname;

    @ApiModelProperty("用户头像")
    private String face;

    @ApiModelProperty("资源名称")
    private String resourcesName;

    @ApiModelProperty("评价等级")
    private Integer commentLevel;

    @ApiModelProperty("评价内容")
    private String content;

    @ApiModelProperty("评价时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

}
